Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## java_cup.runtime
Interface Scanner

All Known Implementing Classes:
  lexer

    public interface Scanner

Defines the Scanner interface, which CUP uses in the default implementation of `lr_parser.scan()`. Integration of scanners implementing `Scanner` is facilitated.

Version:
  last updated 23-Jul-1999
Author:
  David MacMahon

Method Summary
`Symbol` | `next_token()` Return the next token, or `null` on end-of-file.

Method Detail

### next_token

    Symbol next_token()
                      throws java.lang.Exception

  Return the next token, or `null` on end-of-file.

  Throws:
    `java.lang.Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD